package com.pm.entity.po.task;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel(description = "目标任务实体")
public class TaskSubtasks {
    @ApiModelProperty(value = "主键ID")
    private Integer id;
    private Integer parentId;
    /**
     * quarter季度
     */
    private Integer quarter;
    /**
     * 重点工作id
     */
    private Integer taskId;
    private String taskName;
    private Integer dismantle;

    /**
     * 指标名称
     */
    private String targetName;

    /**
     * 目标总数量
     */
    private String number;

    /**
     * 是否分解 1分解 0不分解
     */
    private Integer decompose;

    /**
     * 一季度任务
     */
    private Integer oneQuarterNumber;

    /**
     * 一季度进度
     */
    private Integer oneQuarterDegree;

    //一季度完成率
    private Double oneNumber;
    // 第一季度全年完成率
    private Double oneAllYearNumber;
    // 灯
    private Integer oneQuarterDegreeCaveat;

    /**
     * 一季度进度描述
     */
    private String oneQuarterDegreeDescription;

    /**
     * 一季度进度附件
     */
    private String oneQuarterDegreeFile;

    /**
     * 二季度任务
     */
    private Integer twoQuarterNumber;

    /**
     * 二季度任务进度
     */
    private Integer twoQuarterDegree;

    //二季度完成率
    private Double twoNumber;
    // 灯
    private Integer twoQuarterDegreeCaveat;
    // 第一季度全年完成率
    private Double twoAllYearNumber;

    /**
     * 二季度任务进度描述
     */
    private String twoQuarterDegreeDescription;

    /**
     * 三季度任务
     */
    private Integer threeQuarterNumber;

    /**
     * 三季度任务进度
     */
    private Integer threeQuarterDegree;

    //三季度完成率
    private Double threeNumber;
    // 第一季度全年完成率
    private Double threeAllYearNumber;
    // 灯
    private Integer threeQuarterDegreeCaveat;

    /**
     * 三季度任务进度描述
     */
    private String threeQuarterDegreeDescription;

    /**
     * 三季度任务进度附件
     */
    private String threeQuarterDegreeFile;

    /**
     * 全年任务
     */
    private Integer allNumber;
    private Integer allDegreeCaveat;

    /**
     * 全年任务进度
     */
    private Integer allDegree;
    private Integer oneQuarterDegreeStatus;
    private Integer twoQuarterDegreeStatus;
    private Integer threeQuarterDegreeStatus;
    private Integer allDegreeStatus;
    private Float degree1;
    private Float degree2;
    private Float degree3;
    private Float degree4;
    private Float allDegree1;
    private Float allDegree2;
    private Float allDegree3;
    private Float allDegree4;

    //全年完成率
    private Double allNumberA;
    // 全年完成率
    private Double AllYearNumber;

    /**
     * 全年任务进度描述
     */
    private String allDegreeDescription;

    /**
     * 全年任务进度附件
     */
    private String allDegreeFile;

    private Date addTime;

    private Date updateTime;
    private List<TaskSubtasks> subtasks;
    private List<SubtaskDeptTask> deptTasks;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 灯
     */
    private Integer lamp;
    /**
     * 消息
     */
    private String message;
    /**
     * 部门id
     */
    private Integer departmentId;
    /**
     * 部门名称
     */
    private String departmentName;
    /**
     * 完成率大
     */
    private Double largeNum;
    /**
     * 完成率小
     */
    private Double smallNum;

    private Integer pageNum;//第几页
    private Integer pageSize;//每页数量
}